#!/bin/bash

for file in $(basename -s .jpg $(ls *.jpg))
 do convert "$file".jpg "$file".png
done
